package com.eastfair.common.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.common.entity.AuthCode;

import com.eastfair.common.vo.AuthCodeVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * 服务商对外授权码
 * </p>
 *
 * @author dqq
 * @date 2023-02-14
 */
@Repository
public interface AuthCodeMapper extends SuperMapper<AuthCode> {

    /**
     * 查询授权码.
     *
     * @param pageParam    the page param
     * @param queryWrapper the query wrapper
     * @return the page
     */
    Page<AuthCodeVO> listAuthCodeVO(Page<AuthCode> pageParam, @Param(Constants.WRAPPER) QueryWrapper<AuthCode> queryWrapper);
}
